package com.bjsxt.controller;

import com.bjsxt.pojo.PageA;
import com.bjsxt.pojo.Planner;
import com.bjsxt.service.PlannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/planner")
public class PlannerController {

    @Autowired
    private PlannerService plannerService;

    @RequestMapping("/selectPlanner")
    public PageA<Planner> selectPlanner(Integer cid){
        return plannerService.selectPlannerSice(cid);
    }
}
